github.com/cenkalti/backoff/v4.ExponentialBackOff.currentInterval (field)
7 uses
github.com/cenkalti/backoff/v4 (current package)
exponential.go#L65: currentInterval time.Duration
exponential.go#L110: b.currentInterval = b.InitialInterval
exponential.go#L119: next := getRandomValueFromInterval(b.RandomizationFactor, rand.Float64(), b.currentInterval)
exponential.go#L140: if float64(b.currentInterval) >= float64(b.MaxInterval)/b.Multiplier {
exponential.go#L141: b.currentInterval = b.MaxInterval
exponential.go#L143: b.currentInterval = time.Duration(float64(b.currentInterval) * b.Multiplier)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |